package kr.ac.kookmin.cs.distboard.protocol;

public class Request {
	
	public static final int CHOICE = 0;
	public static final int GIVE = 1;//have contents
	public static final int TAKE = 2;//have contents
	public static final int ROLL_DICE = 3;
	public static final int ROLL_YUT = 4;
	public static final int GET_OUT = 5;
	public static final int GIVE_SITUATION = 6;
	
	private int code = -1;
	private Object content = null;
	
	public Request(int code, Object content){
		this.code = code;
		this.content = content;
	}
	
	public static Request getRequest(int code, Object content){
		return new Request(code, content);
	}

	//getter
	
	public int getCode() {
		return code;
	}

	public Object getContent() {
		return content;
	}
	
}
